package org.neuedu.chapter06_0621.demo02;

public class PersonTest {
    public static void main(String[] args) {
        Person p1 = new Person();
        p1.name = "zhangsan";
        p1.age = 33;
        p1.nation = "汉族";
        p1.gender = false;

        Person p2 = new Person("lisi", 22, "满族", true);
        System.out.println(p2.name);

        System.out.println(p1);
        System.out.println(p2);
    }
}
